package com.exam.examtest.bean;

import org.greenrobot.greendao.annotation.Entity;
import org.greenrobot.greendao.annotation.Id;
import org.greenrobot.greendao.annotation.Generated;

/**
 * ClassName HttpRecordBean
 * Create by rhf
 * Create on 2021/3/31 16:13
 * Description 请求记录数据bean
 */
@Entity
public class HttpRecordBean {
    @Id
    private Long id;
    /*请求的时间*/
    private Long httpTimeStamp;
    /*当记录请求的时候，该值为请求路径，当记录请求结果的时候，该值为请求结果值*/
    private String saveUrlOrData;
    /* 1表示请求记录 2 表示结果数据存储 */
    private int type;
    @Generated(hash = 700535840)
    public HttpRecordBean(Long id, Long httpTimeStamp, String saveUrlOrData,
            int type) {
        this.id = id;
        this.httpTimeStamp = httpTimeStamp;
        this.saveUrlOrData = saveUrlOrData;
        this.type = type;
    }
    @Generated(hash = 637350912)
    public HttpRecordBean() {
    }
    public Long getId() {
        return this.id;
    }
    public void setId(Long id) {
        this.id = id;
    }
    public Long getHttpTimeStamp() {
        return this.httpTimeStamp;
    }
    public void setHttpTimeStamp(Long httpTimeStamp) {
        this.httpTimeStamp = httpTimeStamp;
    }
    public String getSaveUrlOrData() {
        return this.saveUrlOrData;
    }
    public void setSaveUrlOrData(String saveUrlOrData) {
        this.saveUrlOrData = saveUrlOrData;
    }
    public int getType() {
        return this.type;
    }
    public void setType(int type) {
        this.type = type;
    }

}
